package com.wfx.entity;

import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * VIEW
 * </p>
 *
 * @author zhu
 * @since 2021-01-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ViewOrderCunt implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单编号
     */
    private String orderId;

    /**
     * 代理用户
     */
    private String userId;

    /**
     * 商品编号
     */
    private String goodId;

    /**
     * 购买数量
     */
    private Integer buyNum;

    /**
     * 下单时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date orderTime;

    /**
     * 状态 0：未支付 1：已支付 2：已关闭
     */
    private Integer state;

    /**
     * 订单金额
     */
    private Double orderMoney;

    /**
     * 订单佣金
     */
    private Double orderPmoney;


}
